package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TUserCard;
import com.bootdo.project.dao.TUserCardMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/20.
 */
@Service
public class TUserCardService {

	@Autowired
    private TUserCardMapper tUserCardMapper;
    
    public int deleteByPrimaryKey(Integer id){
        return tUserCardMapper.deleteByPrimaryKey(id);
    }

    public int insert(TUserCard record){
        return tUserCardMapper.insert(record);
    }

    public int insertSelective(TUserCard record){
        return tUserCardMapper.insertSelective(record);
    }

    public TUserCard selectByPrimaryKey(Integer id){
        return tUserCardMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TUserCard record){
        return tUserCardMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TUserCard record){
        return tUserCardMapper.updateByPrimaryKey(record);
    }

    public List<TUserCard> selectByCondition(TUserCard record){
        return tUserCardMapper.selectByCondition(record);
    }

    public List<TUserCard> selectAll(){
        return tUserCardMapper.selectAll();
    }

    public List<TUserCard> selectByPage(Page<TUserCard> page){
        return tUserCardMapper.selectByPage(page);
    }

    public Integer count(TUserCard record){
        return tUserCardMapper.count(record);
    }

    public int deleteByCondition(TUserCard record){
        return tUserCardMapper.deleteByCondition(record);
    }

}
